﻿<script>

    if (LoadSodByKey('helloapp', null) == Sods.missing)
        RegisterSod('helloapp', '~app/app.js');

    SP.SOD.executeFunc("helloapp", null, function () {

        var app = new helloWorldApp.HelloApp();
        app.run("~js-app-id");
    });

</script>
<div id="~js-app-id" class="hello-world">
    Hello world app!
</div>
